<template>
  <div class="common-title">
    <h4>{{ title }}</h4>
  </div>
</template>

<script setup>
defineProps({
  title: {
    type: String,
    required: true
  }
})
</script>

<style lang="less">
.common-title {
  width: 100%;
  height: 50px;
  background: url('@/assets/homePage/title.png') no-repeat;
  background-size: 100% 100%;
  margin-bottom: 10px;
  h4 {
    font-family: YouShecBiaoTiHei;
    font-weight: 400;
    font-size: 20px;
    margin-left: 30px;
    line-height: 37px;
    color: #ffffff;
    display: inline-block;
    // background: linear-gradient(to bottom, #afdaff 0%, #ffffff 100%);
    // -webkit-background-clip: text;
    // -webkit-text-fill-color: transparent;
    text-shadow: 1px 1px 2px #122e67;
  }
}
</style>
